package com.happe.foodeasy.manage.service.impl;

import com.happe.foodeasy.manage.dao.ManagerMapper;
import com.happe.foodeasy.manage.dto.ManagerLoginDTO;
import com.happe.foodeasy.manage.common.entity.ManagerEntity;
import com.happe.foodeasy.manage.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    private ManagerMapper managerMapper;
    @Override
    public ManagerEntity checkManagerExist(ManagerLoginDTO managerDTO) {
        return managerMapper.checkManagerExist(managerDTO);
    }
}
